<?php if($list){  ?>
<?php if($cr == 'buyer'){  ?>
<div class="info_wr" style="min-height: 600px;">
    <div class="info_one info_name">
        <div class="u_price">单价（1元比例）</div>
        <div class="invent">库存（<?php echo $unit ?>）</div>
        <div class="total">总价（元）</div>
        <div class="number">商品件数</div>
        <div class="server">提供服务</div>
        <div class="platform">销售平台</div>
        <div class="merchant">商家</div>
        <!-- <div class="fee">手续/提现费</div> -->
        <div class="buy"></div>
    </div>
    <?php foreach ($list as $k => $vo): ?>
        <div class="info_one">
            <div class="u_price"><?php echo $vo['unitPrice'] ?> &nbsp;<span style="color: #ff4400">(1/<?php echo priceFormat($vo['rate']) ?>)</span></div>
            <div class="invent"><?php echo $vo['amount'] ?></div>
            <div class="total">￥<?php echo priceFormat($vo['price']); ?></div>
            <div class="number"><?php echo $vo['num'] ?></div>
            <div class="server">
                <?php foreach ($vo['services'] as $v): ?>
                    <i class="<?php echo $v ?>"><?php echo $trades[$v] ?></i>
                <?php endforeach ?>
            </div>
            <div class="platform <?php echo $colors[$vo['platform']] ?>"><?php echo strtoupper($vo['platform']) ?></div>
            <div class="merchant <?php echo $colors[$vo['platform']] ?>"><?php echo $vo['seller'] ?></div>
           <!--  <div class="fee">
                <?php if($vo['is_charge']){ ?>
                    <a href="<?php echo $vo['charge_url'] ?>" target="_blank" class="<?php echo $colors[$vo['platform']] ?>">查看</a>
                <?php }else{ ?>
                    <span class="<?php echo $colors[$vo['platform']] ?>">免</span>
                <?php } ?>
            </div> -->
            <div class="buy">
                <a href="<?php echo U('index/jump') ?>?to=<?php echo urlencode($vo['buyUrl']) ?>" target="_blank" class="mai">购买</a>

                <?php if($vo['listUrl']){  ?>
                    <a href="<?php echo U('index/jump') ?>?to=<?php echo urlencode($vo['listUrl']) ?>" target="_blank" class="ss"></a>
                <?php } ?>    
            </div>
        </div>
    <?php endforeach ?>
</div>
<?php  }else if($cr == 'seller'){ ?>
    <div class="info_wr" style="min-height: 600px;">
        <div class="info_one info_name">
            <div class="u_price">单价（1元比例）</div>
            <div class="invent">数量（<?php echo $unit ?>）</div>
            <div class="total">总价（元）</div>
            <div class="number">最低收购</div>
            <div class="server">最低金额</div>
            <div class="platform">销售平台</div>
            <div class="merchant">商家</div>
            <div class="fee">手续/提现费</div>
            <div class="buy"></div>
        </div>

        <?php foreach ($list as $k => $vo): ?>
            <div class="info_one">
                <div class="u_price"><?php echo $vo['unitPrice'] ?> &nbsp;(1/<?php echo priceFormat($vo['rate']) ?>)</div>
                <div class="invent"><?php echo $vo['amount'] ?></div>
                <div class="total">￥<?php echo priceFormat($vo['price']); ?></div>
                <div class="number"><?php echo $vo['minimumCount'] ?></div>
                <div class="total">￥<?php echo priceFormat($vo['minimumPrice']); ?></div>
                <div class="platform <?php echo $colors[$vo['platform']] ?>"><?php echo strtoupper($vo['platform']) ?></div>
                <div class="merchant <?php echo $colors[$vo['platform']] ?>"><?php echo $vo['seller'] ?></div>
                <div class="fee">
                    <?php if($vo['is_charge']){ ?>
                        <a href="<?php echo $vo['charge_url'] ?>" target="_blank" class="<?php echo $colors[$vo['platform']] ?>">查看</a>
                    <?php }else{ ?>
                        <span class="<?php echo $colors[$vo['platform']] ?>">免</span>
                    <?php } ?>
                </div>
                <div class="buy">
                    <a href="<?php echo U('index/jump') ?>?to=<?php echo urlencode($vo['sellUrl']) ?>" target="_blank" class="chu">出货</a>    
                </div>
            </div>
        <?php endforeach ?>
    </div>
<?php } ?>    
<?php }else{ ?>
    <div class="search_none" style="min-height: 300px;">
        <img src="<?php echo IMG_PATH ?>index/icon_03.png" width="149px" height="156px"/>
        <p>暂无搜索结果！</p>
    </div>
<?php } ?>